package com.csis.system.domain;

import static com.csis.system.common.IStaticData.COLUMN_WARE_USER_MAP_MAPID;
import static com.csis.system.common.IStaticData.COLUMN_WARE_USER_MAP_USERID;
import static com.csis.system.common.IStaticData.COLUMN_WARE_USER_MAP_WAREID;
import static com.csis.system.common.IStaticData.TABLE_WARE_USER_MAP;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = TABLE_WARE_USER_MAP)
public class WareUserMap {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = COLUMN_WARE_USER_MAP_MAPID)
	private java.lang.Integer mapId = null;
	@Column(name = COLUMN_WARE_USER_MAP_USERID)
	private java.lang.Integer userId = null;
	@Column(name = COLUMN_WARE_USER_MAP_WAREID)
	private java.lang.Integer wareId = null;

	/**
	 * 
	 */
	public WareUserMap() {
		// TODO Auto-generated constructor stub
	}

	public WareUserMap(Integer userId, Integer wareId) {
		this.userId = userId;
		this.wareId = wareId;
	}

	public java.lang.Integer getMapId() {
		return mapId;
	}

	public void setMapId(java.lang.Integer mapId) {
		this.mapId = mapId;
	}

	public java.lang.Integer getUserId() {
		return userId;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getWareId() {
		return wareId;
	}

	public void setWareId(java.lang.Integer wareId) {
		this.wareId = wareId;
	}

}
